<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.psl.model.userlogin" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    userlogin userinfo = (userlogin) session.getAttribute("user");
    if (userinfo == null) {
        response.sendRedirect("/login.do");
    }%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="/assets/css/text.css" rel="stylesheet" type="text/css">
    <link href="/assets/css/main.css" rel="stylesheet" type="text/css">
    <link href="/assets/css/content.css" rel="stylesheet" type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    </script>
    <style>
        #title {
            width: 92%;
            border: 0px;
            margin-bottom: 10px;
        }

        #title td {
            text-align: center;
            height: 20px;
            line-height: 150%
        }

        #title div {
            background-image: url(/assets/img/dot_02.gif);
            background-position: left top;
            background-repeat: no-repeat;
            margin: 0 auto;
            padding-left: 20px;
            text-align: left;
            width: 10%;
            font-size: 15px;
            font-weight: bold;
            color: #CC0000;
            letter-spacing: 2px;
        }

        tr.change:hover {
            background-color: #dd3c10;
        }
    </style>

</head>
<body>
<table cellspacing="0" cellpadding="0" id="title" align="center">
    <tbody>
    <tr>
        <td nowrap="nowrap">
            <div> 成品存货退回修改</div>
        </td>
    </tr>
    </tbody>
</table>


<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" class="datalist">
    <tbody>
    <tr>
        <th align="center" colspan="1">序号</th>
        <th height="25" align="center">铸件/配件编号</th>
        <th height="25" align="center">铸件/配件名称</th>
        <th align="center">规格</th>
        <th align="center">数量</th>
        <th align="center">商标</th>
        <th align="center">压力</th>
        <th align="center">入库日期</th>
        <th align="center">送货人员</th>
        <th align="center">凭条编号</th>
        <th align="center">操作</th>
    </tr>
    <c:forEach items="${wait}" var="h">
    <form action="/savefpsback.do" method="post">
        <input type="hidden" name="status" value="0">
        <tr>
            <td height="25" align="center" ><input type="text" name="h_id" value="${h.h_id}" readonly></td>
            <td height="25" align="center" ><input id="h_no" name="h_no" type="text" value="${h.h_no}"></td>
            <td height="25" align="center" ><input id="h_name" name="h_name" type="text" value="${h.h_name}"></td>
            <td height="25" align="center" ><input id="h_size" name="h_size" type="text" value="${h.h_size}"></td>
            <td height="25" align="center" ><input name="h_num" id="h_num" type="number" value="${h.h_num}"></td>
            <td height="25" align="center" ><jsp:include page="R.jsp"/></td>
            <td height="25" align="center" ><jsp:include page="PN.jsp"/></td>
            <td height="25" align="center" ><input type="text" name="h_date" value="${h.h_date}"></td>
            <td height="25" align="center" ><input type="text" name="h_people" value="${h.h_people}"></td>
            <td height="25" align="center" ><input type="text" name="h_ticketno" value="${h.h_ticketno}" readonly></td>
            <td height="25" align="center" ><input type="submit" name="update" value="保存修改"></td>
        </tr>
    </form>
    </c:forEach>
    </tbody>
</table>
</body>
</html>